package com.jdls.factory;

import com.jdls.dao.BookDao;
import com.jdls.dao.lmpl.BookDaolmpl;
import com.jdls.service.BookService;
import org.springframework.beans.factory.FactoryBean;

/**
 * @author 嘉德罗斯
 * @date 2021/9/11
 */
public class FactoryBookDao implements FactoryBean<BookDao> {
    public BookDao getObject() throws Exception {
        return new BookDaolmpl();
    }

    public Class<?> getObjectType() {
        return BookDao.class;
    }
}
